//
//  TWMomentsViewModel.h
//  TWHomework-WeChat
//
//  Created by wzb on 2019/11/13.
//  Copyright © 2019 WZB. All rights reserved.
//

#import "TWBaseViewModel.h"

@class TWUserInfo, TWTweet;

NS_ASSUME_NONNULL_BEGIN

@interface TWMomentsViewModel : TWBaseViewModel

/// 当前用户信息
@property (nonatomic, strong) TWUserInfo *user;

/// tweets列表
@property (nonatomic, strong) NSArray <TWTweet *> *tweets;

/**
 获取用户信息
 
 @param success 成功回调
 @param failure 失败回调
 */
- (void)getUserInfo:(TWSuccessBlock)success failure:(TWFailureBlock)failure;

/**
 获取tweets列表
 
 @param success 成功回调
 @param failure 失败回调
 */
- (void)getTweets:(TWSuccessBlock)success failure:(TWFailureBlock)failure;

@end

NS_ASSUME_NONNULL_END
